fix: cognitive-load UX polish — credential notices, country dropdown, dimension hints#22
Merged
Merged
Conversation
… dimension hints - Add per-resource notices in the main node explaining which credential type each resource needs and why a mismatched credential shows a red indicator (Track ↔ Shipping separate-keys trap, ADR-0004) - Convert Country Code free-text to a dropdown (COUNTRY_OPTIONS, ~250 countries, default US) — removes ISO-3166 recall work for the common case - Repeat the all-or-nothing dimensions hint on Width and Height (was only on Length) - Add description to Label Stock Type field - Add cost-notice to Create: surfaces real-money / sandbox-free fact up front - Mark both cognitive-load audit files Status: Fixed Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
nodes/Fedex/Fedex.node.ts— twonoticeproperties (one per resource) explaining credential type mismatchnodes/Fedex/countries.ts— new file:COUNTRY_OPTIONSarray (~250 ISO 3166-1 alpha-2 entries)nodes/Fedex/fields.ts— Country field →type: 'options', Width/Height get dimension hint, Label Stock Type gets descriptionnodes/Fedex/resources/shipping/create.ts— cost notice added at top of Create fieldsdocs/audits/cognitive-load-*— both audit files marked Status: FixedTest plan
pnpm tsc --noEmit)pnpm test)pnpm build)pnpm lint)🤖 Generated with Claude Code